package com.caojing.haolemai.ui.outlets;

import com.caojing.haolemai.base.IBaseModel;
import com.caojing.haolemai.base.IBasePresenter;
import com.caojing.haolemai.base.IBaseView;
import com.caojing.haolemai.bean.tabBean;
import com.caojing.haolemai.bean.TabResultsEntity;

import java.util.List;
import java.util.Map;

import retrofit2.Callback;

/**
 * Created by Administrator on 2016/10/17 0017.
 */
public class OutletsContract {
    public interface View extends IBaseView{
        //    activity的视图view接口,展示tablatyout中的数据；
         void onGetVerticalSucess(List<TabResultsEntity>tabResultsEntities);
        void onGetVerticalFail(String erro);
    }
    //    model层的接口；展示tablatyout中的数据
    public interface Modle extends IBaseModel{
        void getVertical(Map<String,String>params, Callback<tabBean>callback);
    }
    //    presenter层的接口；展示tablatyout中的数据
    public interface  Presenter extends IBasePresenter{
        void getVertical(Map<String,String>params);
    }

}
